import { mapActions } from 'vuex';

import PUBLIC from '@/util/js/PUBLIC/PUBLIC.js';
import PUBLIC_DIFF from '@/util/js/PUBLIC/PUBLIC_DIFF.js';
import BLUETOOTH from '@/util/js/BLUETOOTH/BLUETOOTH.js'; //蓝牙初始化
import BLUETOOTH_DIFF from '@/util/js/BLUETOOTH/BLUETOOTH_DIFF.js';
import COMMON_METHOD from '@/util/js/COMMON_METHOD/COMMON_METHOD.js'; //公共方法

import CLASS_METHOD from '@/util/js/CLASS_METHOD/CLASS_METHOD.js';

import COMMAND from '@/util/js/COMMAND/COMMAND.js'; //蓝牙指令
import WEBSOCKET from '@/util/js/WEBSOCKET/WEBSOCKET.js'; //即时通讯
import PERMISSION from '@/util/js/PERMISSION/PERMISSION.js'; //隐私授权
const STORE = { ...mapActions(['store_set_state_config', 'store_set_state']) };
const common = {};
Object.assign(common, COMMON_METHOD, CLASS_METHOD, PUBLIC, PUBLIC_DIFF, BLUETOOTH, BLUETOOTH_DIFF, COMMAND, WEBSOCKET, PERMISSION, STORE);
// console.log(common);
// console.log(PUBLIC);
// console.log(BLUETOOTH);
// console.log(PERMISSION);
// console.log(COMMAND);
export { common };
